import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { CenterComponent } from './center.component';


const routes: Routes = [
  { path: '', component: CenterComponent,
    children: [
      { path: 'address', loadChildren: './address/address.module#AddressModule' }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class CenterRoutingModule { }
